package com.linxianqin.log.service.impl;

import com.linxianqin.log.domain.dto.SysLogDto;
import com.linxianqin.log.mapper.SysLogMapper;
import com.linxianqin.log.service.SysLogService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 功能描述：
 *
 * @author 林贤钦
 * @version 1.00
 * @Date 2020/12/10
 */
@Slf4j
@Service
public class SysLogServiceImpl implements SysLogService {
    private SysLogMapper sysLogMapper;
    public SysLogServiceImpl(SysLogMapper sysLogMapper){
        this.sysLogMapper=sysLogMapper;
    }
    @Override
    public void saveLog(SysLogDto sysLogDto) {
        log.info("打印操作日志信息：{}",sysLogDto);
        //保存数据库
//        sysLogMapper.insert(SysLogConvert.INSTANCE.dto2entity(sysLogDto));
    }
}
